//获取token
let token = localStorage.getItem('token');

//引入axios
const axios = require('axios');

//配置axios
axios.defaults.baseURL = 'http://47.96.154.185:3701';
axios.defaults.headers.common['Authorization'] = 'Bearer '+token;

module.exports = axios